//
//  YCTextField.m
//  HeartWorldClient
//
//  Created by 董知樾 on 2017/7/14.
//  Copyright © 2017年 谭明权. All rights reserved.
//

#import "YCTextField.h"

@implementation YCTextField

- (void)deleteBackward {
    if ([self.deleteBackDelegate respondsToSelector:@selector(textFieldWillDeleteBackWord:)]) {
        [self.deleteBackDelegate textFieldWillDeleteBackWord:self];
    }
    [super deleteBackward];
    if ([self.deleteBackDelegate respondsToSelector:@selector(textFieldDidDeleteBackWord:)]) {
        [self.deleteBackDelegate textFieldDidDeleteBackWord:self];
    }
}

@end
